<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    body {
      width: 100%;
      height: 2000px;
      /* background-image: url(1.1.png); */
      /* background-repeat: no-repeat; */
      /* background-size: 100% 100%; */
      /* background-attachment: fixed; */


      /* 坐标 / 尺寸 */
      background: url(1.1.png) no-repeat 0 0/100% 100% fixed;
    }
    div {
      width: 100%;
      height: 300px;
      background-color: hotpink;
    }
  </style>
</head>
<body>
  <div></div>
</body>
</html>